//-----------------------------------------------------------------------
// <copyright file="IDSSortBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class IDSSortBase
	{
		
		#region Variable Declarations
		private int				iDSSortID = 0;
		private string				name = string.Empty;
		private int				sortOrder = 0;
		private bool				isDisplayed = false;
		#endregion
		
		#region Constructors
		public IDSSortBase() {}
		
		public IDSSortBase (
			int iDSSortID,
			string name,
			int sortOrder,
			bool isDisplayed)
		
		{
			this.iDSSortID = iDSSortID;
			this.name = name;
			this.sortOrder = sortOrder;
			this.isDisplayed = isDisplayed;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int IDSSortID
		{
			get { return iDSSortID; }
			set { iDSSortID = value; }
		}
		public int originalIDSSortID
		{
			get { return originalIDSSortID; }
			set { originalIDSSortID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SortOrder
		{
			get { return sortOrder; }
			set { sortOrder = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsDisplayed
		{
			get { return isDisplayed; }
			set { isDisplayed = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum IDSSortColumns
	{
		IDSSortID,
		Name,
		SortOrder,
		IsDisplayed
	}//End enum
}